home *** CD-ROM | disk | FTP | other *** search
/ Internet Toolkit / Internet Toolkit.iso / tutorial / pc_learn / dos6.tut < prev    next >
Text File  |  1993-08-16  |  43KB  |  799 lines

  1.        
  2.         ---------------------------------------------------------------- 
  3.  
  4.                                 DOS VERSION 6.0
  5.  
  6.        ---------------------------------------------------------------- 
  7.  
  8.        DOS version 5.0 was revolutionary for its improved memory 
  9.        handling capabilities, useful utilities such as DOSKEY, UNDELETE 
  10.        and improved text editor. DOS version 6.0 is perhaps best 
  11.        described as evolutionary. In most cases the software utilities 
  12.        provided in DOS 6.0 have been available for a number of years 
  13.        from commercial and shareware sources other than Microsoft, but 
  14.        the inclusion of these capabilities within DOS 6.0 make it an 
  15.        attractive option for businesses and individuals seeking to 
  16.        obtain an all-in-one software utility toolkit at a modest price. 
  17.        Novices should recall that DOS version 6.0 contains features 
  18.        of all previous DOS versions, so be sure to study prior DOS 
  19.        tutorials contained elsewhere in PC-Learn. 
  20.        
  21.        Tip: not sure which version of DOS you are using? Type the 
  22.        following command:       VER      <then press enter/return key>     
  23.  
  24.        Next, DOS 6.0 feature highlights:
  25.  
  26.        DBLSPACE. This hard disk and floppy disk file utility can double 
  27.        the amount of hard disk storage space available by compressing 
  28.        files when not in use and "de-compressing" them when needed. 
  29.        Especially useful for Microsoft Windows users whose software 
  30.        applications, data and graphics files can devour space on a hard 
  31.        drive rapidly. DBLSPACE is also referred to as DOUBLESPACE in 
  32.        popular references to this software utility.
  33.  
  34.        MEMMAKER. A sensational automated memory optimization utility 
  35.        which locates and maps conventional, expanded, extended memory 
  36.        and software programs in use - and then attempts various 
  37.        configurations automatically to arrive at an optimum memory
  38.        configuration. Under DOS 5.0 this process had to be done 
  39.        manually and could be woefully tedious and confusing especially 
  40.        for novices. MEMMAKER, while not flawless, is for most users a 
  41.        well-crafted tool for painlessly configuring RAM memory for 
  42.        optimum speed and flexibility. Especially useful for owners of 
  43.        80386 and 80486 processor-based computers.
  44.  
  45.        MSAV and MSWAV. These two utilities are respectively the DOS and 
  46.        Windows versions of Microsoft Antivirus. Useful for periodic 
  47.        testing of hard drives and floppy disks for computer virus 
  48.        infection. Provision has been made for updates to the program as 
  49.        new computer virus species are found. Whenever you insert a new 
  50.        floppy in your computer disk drive you should check it for 
  51.        computer virus infection. Hard drives should be routinely 
  52.        checked for potential virus infections at least once a week if 
  53.        not more frequently. 
  54.  
  55.        DEFRAG. A hard drive file defragmenter - speeds hard drive 
  56.        access by organizing files into contiguous segments which can be 
  57.        rapidly located and used by DOS and applications software 
  58.        packages. "Defragging" is a periodic "housekeeping" chore that
  59.        most computer owners perform once or twice a week to speed hard 
  60.        drive access to files and programs.
  61.  
  62.        MSBACKUP and MWBACKUP. DOS and Windows versions of a capable 
  63.        file backup program. The older DOS BACKUP and RESTORE utilities, 
  64.        always a bit unreliable and clumsy to use, have been superseded 
  65.        by these smoother, more dependable backup utilities.
  66.  
  67.        The Multiple Configuration Feature. This is not a command or 
  68.        conventional software utility but a method which allows users to 
  69.        choose from one of several boot configuration choices when the 
  70.        computer first starts - at boot (startup) time a menu appears 
  71.        which allows the user to select a Windows optimized 
  72.        configuration, a database optimized configuration or any number 
  73.        of user specified choices. Essentially, different CONFIG.SYS and 
  74.        AUTOEXEC.BAT files are run under this menu/choice scheme. 
  75.  
  76.        HELP. The help system in DOS 5.0 was good; but the help system 
  77.        in DOS 6.0 is better, and it's all online at your fingertips. 
  78.        Just type HELP and then cursor to the DOS command in question. 
  79.        Or type HELP and the command name (example: HELP DIR). Pop down 
  80.        menus provide additional technical notes about the command and 
  81.        in most cases a few simple but helpful examples. Put the manual 
  82.        on the bookshelf - this time the HELP utility provides just that.
  83.  
  84.        CHOICE. A small but useful utility used by those preparing batch 
  85.        files. Allows for the display of prompts and pauses batch files 
  86.        so that choices can be made. Utilities such as this have existed 
  87.        from non-Microsoft vendors and shareware sources for years. 
  88.        Finally DOS joins the bandwagon with this simple but useful 
  89.        batch file feature. 
  90.  
  91.        DELTREE. Deletes a subdirectory and all files contained within 
  92.        that subdirectory.
  93.  
  94.        INTERLINK. Of special interest to those owning two computers and 
  95.        wishing to transfer files quickly and reliably between machines.
  96.        Useful for laptop computer owners wishing to transfer files from 
  97.        an office desktop computer to a laptop machine which will be 
  98.        taken on the road.
  99.  
  100.        INTERSVER. Shares software data and resources between two linked 
  101.        computers.
  102.  
  103.        MOVE. Moves or relocates files from one drive or subdirectory to 
  104.        another.
  105.  
  106.        MSCDEX. Microsoft CD-ROM extensions and drivers for those 
  107.        computers equipped with CD-ROM devices.
  108.  
  109.        MSD. A system diagnostic program. Provides extremely useful 
  110.        reports about computer hardware which can be printed or viewed 
  111.        on screen. Popdown menus control all actions. Useful when 
  112.        installing new hardware or software. Print out a report and keep 
  113.        it with your computer for future reference if ever problems 
  114.        arise so that you retain the technical configuration of your 
  115.        system. Tip: If your computer ever requires service, you can 
  116.        mail or FAX these technical reports to your service vendor which 
  117.        should speed repairs. 
  118.  
  119.        POWER. Power management utility - primarily of use to battery 
  120.        operated laptop computer owners.
  121.  
  122.         ---------------------------------------------------------------- 
  123.  
  124.                      WHAT'S GONE OR CHANGED WITH DOS 6.0?
  125.  
  126.        ---------------------------------------------------------------- 
  127.  
  128.        The DOS 6.0 SETVER command has been updated so that older or 
  129.        changed software utilities can still be used by those running 
  130.        DOS 6.0. A coupon is provided with the DOS 6.0 packing 
  131.        materials which can be mailed to Microsoft for a supplemental 
  132.        disk of now discontinued DOS utilities for users who may need 
  133.        them. Highlights: 
  134.  
  135.        OLD DOS COMMAND                       NEW COMMAND
  136.  
  137.        ASSIGN                                  SUBST
  138.        BACKUP                                  MSBACKUP
  139.        DOSHELP                                 FASTHELP, HELP
  140.        EDLIN                                   EDIT
  141.        EXE2BIN                                 NOT AVAILABLE
  142.        GRAFTABL                                NOT AVAILABLE
  143.        JOIN                                    NOT AVAILABLE
  144.        RECOVER                                 NOT AVAILABLE
  145.  
  146.        ---------------------------------------------------------------- 
  147.  
  148.                DOUBLESPACE: SEAMLESS OPTIMIZED FILE COMPRESSION
  149.  
  150.        ---------------------------------------------------------------- 
  151.        
  152.        The icing on the DOS 6.0 cake is Doublespace. Or as the DOS 
  153.        command is actually written and typed at the command line: 
  154.        DBLSPACE.
  155.  
  156.        The essence of file compression offers a paradox. How can you 
  157.        shrink a computer data file and still have it work? Aren't you 
  158.        removing something to make it smaller? The answer is yes and no. 
  159.        The key to file compression is that most computer files contain 
  160.        substantial redundancy. Large ASCII text files and database 
  161.        files might contain, for example, many occurrences of the word 
  162.        "and" or the word "Mr." If these words and symbols are removed 
  163.        and a single symbol, for example the letter "s" is substituted,
  164.        you have gone through a process formally known as "tokenizing" 
  165.        or replacing a long word with a short one. Have the computer 
  166.        replace the long file with a tokenized file and you begin to see 
  167.        the efficiency of this scheme. 
  168.  
  169.        On average the DOS 6.0 DOUBLESPACE utility can squeeze twice the 
  170.        amount of space out of the typical hard drive. Word processing 
  171.        files, spreadsheet files, some graphics image files and large 
  172.        databases are excellent candidates for compression. Other files 
  173.        such as EXE and COM files and some overlay files shrink less.
  174.        Previously compressed files, such as those made by the popular 
  175.        PKZIP utility, do not shrink at all.
  176.  
  177.        The real power of DOUBLESPACE is that unlike earlier popular 
  178.        compression software utilities (e.g., PKZIP, ARC, LHA, STACKER, 
  179.        SUPERSTOR) DOUBLESPACE is an on-the-fly, system level utility 
  180.        which works directly with DOS and thus, in theory, should be 
  181.        more reliable and faster. Users of Microsoft Windows already 
  182.        know that large Windows applications can occupy available hard 
  183.        drive space in megabytes chunks - notebook users, confined to 
  184.        small 20 or 40 megabyte hard drives, are usually faced with the 
  185.        impossibility of upgrading the hard drive in the first place. 
  186.  
  187.        DOUBLESPACE stores data about the compression data for each 
  188.        file in special hidden files Microsoft calls "volumes" which 
  189.        are located in an uncompressed area of the main hard drive. Each 
  190.        volume is assigned a drive letter "behind the scenes" so that DOS 
  191.        stores compressed information to the volume disk and 
  192.        uncompresses it when data is retrieved. The entire process is hidden 
  193.        from view with the net result that users simply see the same 
  194.        file names on the hard drive but an increase in overall disk 
  195.        storage space.The typical ratio of compression once DOUBLESPACE 
  196.        has worked its magic varies between 1.7 to 1 and 2.2 to 1. 
  197.        DOS 6.0 automatically loads DOUBLESPACE when it first boots up 
  198.        and before the CONFIG.SYS file is read, so even if CONFIG.SYS or 
  199.        AUTOEXEC.BAT is missing or damaged, you should still be able to 
  200.        access and use compressed files - a reliability feature 
  201.        Microsoft programmers intended. 
  202.  
  203.        DOUBLESPACE is copied to your hard drive when you first install 
  204.        DOS 6.0 but users must first run the utility to initiate 
  205.        DOUBLESPACE activity. Without running the utility program, 
  206.        DOUBLESPACE lies dormant. A series of menu selections are 
  207.        presented which are relatively simple to use. Beware that the 
  208.        actual initial compression session of a large number of files 
  209.        can take substantial time when DOUBLESPACE is first run. On a 
  210.        speedy 80386 processor-equipped system plan on about an hour per 
  211.        20MB of files to be processed. 
  212.  
  213.        Other features within DOUBLESPACE provide command line or menu 
  214.        driven options which can delete volumes or files, increase or 
  215.        reduce a volume's size, and change the compression ratio.
  216.        
  217.        This last feature, adjustment of the compression ratio is VERY 
  218.        important as an occasional housekeeping chore since DOUBLESPACE 
  219.        calculates the free space in the volume and multiplies this 
  220.        number by the estimated compression ratio to produce available 
  221.        space for storage. Gradually the estimated compression ratio 
  222.        will be at variance with the real compression ratio and DOS may 
  223.        run out of disk space a bit early or late. A quick check is to 
  224.        use two new DOS 6.0 command switches updated in the DIR command: 
  225.        
  226.        DIR /CH   <then press enter/return key> 
  227.        DIR /C    <then press enter/return key> 
  228.        
  229.        These commands produce reports showing the actual compression 
  230.        ratio of files. Another tip: Note that the updated DOS 6.0 
  231.        CHKDSK command now tests and repairs minor flaws in DOUBLESPACE 
  232.        volumes and drives and should be run occasionally. 
  233.  
  234.        But there can be a downside to DOUBLESPACE magic since the 
  235.        utility requires additional RAM memory and time resources. The 
  236.        DOUBLESPACE driver requires about 40K of RAM  - although it can 
  237.        be loaded into the upper 384K of DOS memory using the following 
  238.        command: DEVICEHIGH=DBLSPACE.SYS /MOVE in the CONFIG.SYS file. 
  239.  
  240.        Another downside: Reading compressed files back from a 
  241.        compressed disk slows file access time by 2 to 4 percent, but 
  242.        writing files to a DOUBLESPACE disk considerably slows things 
  243.        down. If possible, use a disk cache to improve performance of 
  244.        DOUBLESPACE, and DOS includes the SMARTDRV utility for just this 
  245.        purpose. With DOUBLESPACE, small files written to disk entail 
  246.        minimal time lag. Large files, however, require time to be 
  247.        compressed before they can be written to disk. 
  248.  
  249.        Be sure to use the DOS 6.0 DEFRAG utility periodically if you 
  250.        rely on DOUBLESPACE. DEFRAG is actually a licensed version of 
  251.        the Norton utilities SPEEDDISK system and has been optimized to 
  252.        work with DOUBLESPACE. It's purpose, as with all hard drive 
  253.        defragmentation utilities, is to rearrange files into 
  254.        contiguous, orderly units which can be read and written to a 
  255.        drive as rapidly as possible. 
  256.  
  257.        Problems with DOUBLESPACE? Reports in the trade press suggest 
  258.        that DOUBLESPACE is for the most part reliable. A few reports 
  259.        have surfaced suggesting that the initial installation of 
  260.        DOUBLESPACE should be performed with MINIMUM or NO programs 
  261.        installed which are TSR in nature (popup calculators, notepads, 
  262.        ramdrives, caches, etc). In other words, boot the computer from 
  263.        a simple CONFIG.SYS and AUTOEXEC.BAT file or DOS 6.0 system 
  264.        floppy disk so that DOUBLESPACE can use the maximum amount of 
  265.        RAM and disk space during its first installation since some 
  266.        users have noted installation problems if DOUBLESPACE competes 
  267.        with other TSR programs for memory during its initial 
  268.        installation and compression session. The DOS SMARTDRV (Smart 
  269.        Drive) utility) should probably be disabled or removed during 
  270.        the initial DOUBLESPACE installation and then reinstalled after 
  271.        DOUBLESPACE has been configured. It is absolutely necessary 
  272.        to FIRST do any hard drive file repair before DOUBLESPACE is 
  273.        installed! Usually running the CHKDSK utility on the hard drive 
  274.        will locate the following typical hard drive file problems: bad 
  275.        sectors, lost cluster, cross-linked files and stray zero byte 
  276.        files. The command to run CHKDSK on a hard drive labelled C: is 
  277.        as follows:       CHKDSK C: 
  278.        If you want to attempt to fix or recover lost hard drive file 
  279.        clusters or repair cross-linked files run this command: 
  280.        CHKDSK C: /F 
  281.  
  282.        DOUBLESPACE can use a variety of command line switches and menu 
  283.        options to test a compressed volume, convert of Stacker 
  284.        compressed files, defragment a compressed drive and other 
  285.        functions. Use the DOS 6.0 HELP facility for further information 
  286.        regarding these techniques and special command line switches. 
  287.        At the DOS prompt, type: 
  288.        
  289.        HELP DBLSPACE   <then press return/enter key>
  290.        
  291.        ---------------------------------------------------------------- 
  292.  
  293.                          FINALLY, BACKUP IS PAINLESS!
  294.                                                         
  295.        ---------------------------------------------------------------- 
  296.  
  297.        Earlier versions of DOS never quite got things right when it 
  298.        came to backing up valuable files onto floppy disks or tape 
  299.        drives. The older BACKUP and RESTORE commands were klunky, 
  300.        unreliable and downright dangerous. With DOS 6.0, Microsoft 
  301.        licensed a version of Symantec's Norton Backup for DOS and 
  302.        Windows. This utility, MSBACKUP (for DOS) and MWBACKUP (for 
  303.        Windows) finally provides convenience and either menu or command 
  304.        line driven utility to the backup process and handles full or 
  305.        partial backups. 
  306.        
  307.        In addition, the backup utility can format floppies on the fly 
  308.        when needed. Three types of backups are supported: full, 
  309.        incremental and differential. Backup settings and configuration 
  310.        can be saved, password protection is provided, data compression 
  311.        is implemented and menu driven commands are easy and reliable. 
  312.        Speed is good - about 2MB per minute can be moved through the 
  313.        backup utility and a convenient restore and compare option makes 
  314.        sure that files are both intact and can be reconstructed when 
  315.        needed. 
  316.  
  317.        One clever feature of the backup utility is the capability to 
  318.        skip DOS system files and the large Windows 386 swap file - 
  319.        both of which can be ignored in routine backup sessions. 
  320.        MSBACKUP and MWBACKUP cleverly use the DOUBLESPACE utility to 
  321.        compress backup files which reduces the required number of 
  322.        floppies and saves time during a typical backup session. 
  323.  
  324.        Problems? MSBACKUP is not compatible with other backup systems 
  325.        such as Norton Backup so users must either convert older backup 
  326.        data to the new system, or keep a copy of their previous backup 
  327.        utility on hand for older backup disks. In addition, tape 
  328.        backup is not supported - a glaring omission for hard drive 
  329.        users equipped with tape drive. For users backing up to 
  330.        floppies, though, this is not a problem, obviously. Another 
  331.        curious omission: MSBACKUP and MWBACKUP do not offer the option 
  332.        to restore all files from a backup floppy disk set - files must 
  333.        be individually selected. This becomes a nuisance for users 
  334.        which to copy a large number of files from one machine to 
  335.        another. Speed use of DMA (direct memory access), a feature 
  336.        commonly found on all 80286, 80386 and 80486 equipped machines, 
  337.        is not used by MSBACKUP - thus making the utility slower than it 
  338.        could be. 
  339.  
  340.        Tip: If you use Windows, be sure to install both the Windows and 
  341.        DOS versions of the MSBACKUP and MWBACKKUP since if something 
  342.        goes wrong with Windows files, you can still restore backup 
  343.        floppies using DOS if Windows is not operational.
  344.        
  345.        MSBACKUP and MWBACKUP can use a variety of command line switches 
  346.        and menu options to operate in black and white mode or display 
  347.        with greater legibility on laptop computer screens. In addition, 
  348.        backup catalog files contain unique names and contents to assist 
  349.        in restoring backed up files. Use the DOS 6.0 HELP facility for 
  350.        further information regarding these techniques and special 
  351.        command line switches. At the DOS prompt, type: 
  352.        
  353.        HELP MSBACKUP   <then press return/enter key>
  354.        
  355.        ---------------------------------------------------------------- 
  356.  
  357.                      UNDELETING FILES SAFELY WITH DOS 6.0 
  358.  
  359.        ---------------------------------------------------------------- 
  360.        
  361.        We've all done it: accidentally deleted a file and then wished 
  362.        the file could be recovered. DOS 5.0 used two methods for 
  363.        undeletion - either the UNDELETE command or the more robust 
  364.        MIRROR utility which tracked the location and contents of 
  365.        deleted files and thus speeded recovery from disaster. Both 
  366.        methods were good, but had limitations which were not successful 
  367.        in all cases of file deletion. 
  368.  
  369.        DOS 6.0 still includes these two useful utilities now called 
  370.        the STANDARD method and DELETE TRACKER method, but adds the more 
  371.        powerful option called the DELETE SENTRY method which moves 
  372.        deleted files into a special hidden subdirectory where they can 
  373.        be recovered if necessary. The mixed blessing with this scheme 
  374.        is that disk space is not released, although owners of large 
  375.        capacity hard drives may not be concerned, given the added peace 
  376.        of mind DELETE SENTRY provides. Another problem, albeit small 
  377.        for most users, is that DELETE SENTRY will only protect files up 
  378.        to a total of 7 percent of available hard drive space - DOS thus 
  379.        discards the oldest files from the hidden subdirectory to make 
  380.        space for newer deleted files. While this last concept seems an 
  381.        odd implementation for a file safety feature, it makes sense 
  382.        because otherwise the hard drive would gradually fill with 
  383.        deleted files which reside in the hidden directory. 
  384.  
  385.        In addition, the DOS 6.0 UNDELETE command can retrieve entire 
  386.        subdirectories which have been accidentally deleted as well as 
  387.        files. These features are available to both Windows and DOS 
  388.        users via two versions of the utility. Either or both versions 
  389.        of UNDELETE can be used. Users of Windows should probably 
  390.        install both versions of UNDELETE for additional safety.
  391.  
  392.        Check the DOS 6.0 HELP facility for more information which is 
  393.        quite detailed regarding this valuable capability. At the DOS 
  394.        command line type:
  395.  
  396.        HELP UNDELETE     <the press enter/return key>
  397.  
  398.        ---------------------------------------------------------------- 
  399.  
  400.                            MEMORY MAGIC WITH DOS 6.0
  401.  
  402.        ---------------------------------------------------------------- 
  403.  
  404.        Before studying this section, readers might want to examine the 
  405.        PC-Learn tutorial MANAGING MEMORY located in a subsequent 
  406.        chapter since some technical memory terms are best covered in 
  407.        that tutorial. Also read the DOS 5.0 tutorial for information on 
  408.        related memory management utilities and commands such as 
  409.        DEVICEHIGH, LOADHIGH, MEM, EMM386 and HIMEM.SYS.           
  410.  
  411.        New to DOS 6.0 is MEMMAKER, an automated utility for configuring 
  412.        memory and relocating software programs in use. MEMMAKER tries 
  413.        various RAM memory configurations, reboots the computer, checks 
  414.        the result and if necessary makes further adjustments in an 
  415.        attempt to locate more RAM memory for software, drivers and TSR 
  416.        memory resident programs. The utility automates loading programs 
  417.        into high memory, optimizes memory for Windows users and can 
  418.        allocate RAM memory on the fly when necessary. It controls the 
  419.        HIMEM.SYS and EMM386.EXE memory driver/managers and makes 
  420.        adjustments in the CONFIG.SYS and AUTOEXEC.BAT startup files as 
  421.        necessary.
  422.  
  423.        The older DOS 5.0 utility EMM386 was an acceptable memory 
  424.        manager for owners of 80386 machines, but produced unspectacular 
  425.        memory savings in the critical RAM memory area between 640K and 
  426.        1 Meg. DOS 6.0 adds a HIGHSCAN switch to the EMM 386 utility 
  427.        to search for more usable high memory. Additionally, the revised 
  428.        DOS 6.0 commands DEVICEHIGH and LOADHIGH, discussed in the PC-
  429.        Learn DOS 5.0 tutorial, are more effective at using the memory 
  430.        they find by loading programs into sections of non-contiguous 
  431.        blocks of high memory. Prior to this, these two utilities 
  432.        required contiguous memory spaces - a waste of precious RAM 
  433.        resources. However the real story behind DOS 6.0 memory 
  434.        management is MEMMAKER which automates the process of installing 
  435.        and using HIMEM.SYS and EMM386.EXE - the two software drivers 
  436.        that control high, extended and expanded memory. 
  437.  
  438.        MEMMAKER performs its function by testing and changing the 
  439.        commands within the CONFIG.SYS and AUTOEXEC.BAT files and 
  440.        experimenting with different variations of the DEVICEHIGH and 
  441.        LOADHIGH statements then rebooting the computer and studying 
  442.        the results in an effort to use all available upper memory 
  443.        blocks, sometimes called the UMB memory area. 
  444.  
  445.        MEMMAKER is also mindful of Windows software and provides a /W 
  446.        switch for just this purpose. However, initially MEMMAKER 
  447.        configures memory optimization for DOS programs unless 
  448.        instructed otherwise. UMB memory management under windows is 
  449.        important for a few of the more fussy windows applications such 
  450.        as Ventura Publisher which require access to the first megabyte 
  451.        of memory for table sorting and other functions - a reason for 
  452.        the /W switch of MEMMAKER. 
  453.  
  454.        Another revised DOS 6.0 memory management feature allows 
  455.        EMM386.EXE to define either extended or expanded memory from the 
  456.        same RAM area on the fly. DOS 5.0 versions of EMM386 required 
  457.        that memory be configured as either extended or expanded and 
  458.        frozen that way. Now a user can run spreadsheets (which usually 
  459.        require expanded memory) or databases (which use either extended 
  460.        or expanded memory) without having to know much about memory 
  461.        management since EMM386 will switch between the two types 
  462.        automatically. 
  463.  
  464.        Problems? Be careful when using the DOS 6.0 multi-configuration 
  465.        menu option (booting up and choosing different CONFIG.SYS 
  466.        options from a menu), since MEMMAKER can sometimes delete or 
  467.        mangle the CONFIG.SYS and AUTOEXEC.BAT files beyond use. It is 
  468.        probably best to copy your configuration data from those two 
  469.        files safely to a floppy disk before MEMMAKER is run and then 
  470.        study the resulting CONFIG.SYS and AUTOEXEC.BAT contents after 
  471.        MEMMAKER has finished.
  472.  
  473.        MEMMAKER can use a variety of command line switches for 
  474.        specialized settings. Use the DOS 6.0 HELP facility for further 
  475.        information regarding these techniques and special command line 
  476.        switches. Also consult the help facility for assistance 
  477.        regarding the related commands DEVICEHIGH, LOADHIGH, MEM, EMM386 
  478.        and HIMEM.SYS. Finally, refer to the multiple configuration 
  479.        discussion later in this tutorial which also affects memory 
  480.        configuration. At the DOS prompt, type one of these examples for 
  481.        more information. 
  482.        
  483.        HELP MEMMAKER      <then press return/enter key>
  484.        HELP LOADHIGH      <then press return/enter key>
  485.        HELP MEM           <then press return/enter key>
  486.        HELP DEVICEHIGH    <then press return/enter key>
  487.        HELP HIGHMEM.SYS   <then press return/enter key>
  488.        HELP EMM386        <then press return/enter key>
  489.               
  490.        ---------------------------------------------------------------- 
  491.  
  492.                 A NOTE REGARDING THE SMART DRIVE CACHE UTILITY
  493.                                         
  494.        ---------------------------------------------------------------- 
  495.        
  496.        DOS 5.0 and DOS 6.0 contain a disk cache program called Smart 
  497.        Drive or SMARTDRV. The purpose of this utility program is to 
  498.        speed hard drive performance by storing frequently used 
  499.        information in speedy RAM memory rather than forcing the central 
  500.        processor to continually request slower hard drive access. 
  501.        Software which uses the hard drive heavily is accelerated by 
  502.        using SMARTDRV. 
  503.        
  504.        However, a concern arises for users of the SMARTDRV version 
  505.        contained DOS 6.0 since SMARTDRV does NOT write stored 
  506.        information to the hard drive immediately but waits for a brief 
  507.        time if the processor is busy. The SMARTDRV utility in DOS 5.0 
  508.        always writes information to the hard drive immediately without 
  509.        this lag. The version in DOS 6.0 does not. 
  510.        
  511.        Obviously if the computer is turned off, a power failure occurs 
  512.        or perhaps a different software program is closed and a new 
  513.        software program started, there is a chance that the DOS 6.0 
  514.        SMARTDRV utility may not have the chance to write its stored 
  515.        information safely to the hard drive. Substantial loss of data 
  516.        can and has occurred! Users of DOS 6.0 can force SMARTDRV to 
  517.        immediately write data to the hard drive using this command: 
  518.        SMARTDRV /C 
  519.  
  520.        Use the DOS 6.0 HELP facility for more information since SMARTDRV
  521.        contains a large number of specialized command line switches and 
  522.        examples. At the DOS command line type: 
  523.        
  524.        HELP SMARTDRV         <then press return/enter key>
  525.        
  526.        ---------------------------------------------------------------- 
  527.  
  528.                            VIRUS PROTECTION AT LAST
  529.        
  530.        ---------------------------------------------------------------- 
  531.        
  532.        Central Point Software was the source of the DOS 6.0 antivirus 
  533.        utilities, MSAV (DOS version) and MWAV (for Windows users.) In 
  534.        addition, VSAFE, a memory resident virus detection utility is 
  535.        now a part of DOS.  
  536.  
  537.        The temptation to check stray disks about the office and 
  538.        investigate shareware packages is ever present - and thus so is 
  539.        the possibility of computer virus infection as discussed in 
  540.        greater detail in the PC-Learn virus tutorial elsewhere. 
  541.  
  542.        VSAFE remains in memory and constantly compares specific file 
  543.        checksums or CRC numbers (cyclic redundancy check) to detect 
  544.        file changes due to virus infection. If VSAFE locates suspicious 
  545.        virus activity such as modifications to a disk's boot sector, 
  546.        file allocation table or partition table an alarm is sounded. At 
  547.        that point the user can invoke the MSAV utility for file repair 
  548.        or removal as necessary.
  549.             
  550.        MSAV is loaded at the request of the user and scans an entire 
  551.        drive or subdirectory - including RAM memory - for the presence 
  552.        of computer virus infestation. Note that new virus strains are 
  553.        always on the rise so that Microsoft has made provision for two 
  554.        free updates to MSAV. Subsequent updates, handled by Central 
  555.        Point Software, will probably cost a few dollars, but be 
  556.        available by postal or speedy modem update as needed. Note that 
  557.        if MSAV finds a virus in a file it either repairs the file or 
  558.        deletes it, whichever is possible. 
  559.  
  560.        Problems? VSAFE does require about 40K of memory since it is a 
  561.        TSR memory resident program - not all users may want to allocate 
  562.        RAM for this function, but busy offices with many disks in 
  563.        constant circulation and thus risk of virus infection might find 
  564.        the tradeoff acceptable. However, for isolated users who rarely 
  565.        try new disks and software, an occasional scan with MSAV once 
  566.        or twice a week may be plenty of protection. 
  567.  
  568.        Use the DOS 6.0 HELP facility for more information since MSAV 
  569.        contains a large number of specialized command line switches and 
  570.        examples. At the DOS command line type: 
  571.        
  572.        HELP MSAV         <then press return/enter key>
  573.        
  574.        ---------------------------------------------------------------- 
  575.  
  576.             MULTIPLE STARTUP CONFIGURATIONS - A POWER USER CONCEPT
  577.        
  578.        ---------------------------------------------------------------- 
  579.        
  580.        The situation arises all too easily. Depending on the programs 
  581.        you are running there are times when the critical CONFIG.SYS and
  582.        AUTOEXEC.BAT startup files of your hard drive must be modified.
  583.        Perhaps a RAM memory configuration in one case for a Windows 
  584.        program and later in the day a different configuration for a DOS 
  585.        program.
  586.        
  587.        Prior to DOS 6.0 this conundrum meant dragging out a text editor 
  588.        or the DOS EDIT utility and tinkering with the CONFIG.SYS and 
  589.        AUTOEXEC.BAT files in the root directory of the hard drive, 
  590.        restarting the computer to effect the new configuration and then 
  591.        later revising both files again to return to the previous 
  592.        settings and again restarting the computer. Tedious at best.
  593.  
  594.        No longer. Under DOS 6.0 a new MULTI-CONFIG option allows the 
  595.        user to modify the CONFIG.SYS and AUTOEXEC.BAT files with new 
  596.        commands so that a menu of up to 12 different choices is 
  597.        presented when the computer first starts. After a key is pressed 
  598.        a specific configuration is selected which can later be changed 
  599.        by restarting the computer and again selecting from the startup 
  600.        menu. 
  601.  
  602.        Let's look at a specific example. Novices may first wish to read 
  603.        the MANAGING RAM MEMORY tutorial and the BATCH FILE tutorial 
  604.        elsewhere in PC-Learn to understand some of the concepts 
  605.        discussed next. 
  606.  
  607.        Tip: The Multiple Configuration Option is most frequently of use 
  608.        when selecting among different RAM memory configurations, 
  609.        installing different software drivers or switching between 
  610.        Windows and DOS applications during the day. 
  611.  
  612.        As an example, when you start you PC each morning perhaps you 
  613.        would always like your CONFIG.SYS startup file to contain the 
  614.        following lines: 
  615.  
  616.        FILES=20
  617.        DEVICE=C:\DOS\EMM386.EXE
  618.        STACKS=0,0
  619.  
  620.        However when you load Windows perhaps you would like to set the 
  621.        FILES statement to 40, the EMM386 utility to NOEMS and stacks to 
  622.        9,256. 
  623.        
  624.        However in all cases you wish to load the HIMEM.SYS utility, 
  625.        place DOS into high memory and set BUFFERS to 20. 
  626.  
  627.        Here is a modified CONFIG.SYS file which provides a menu of 
  628.        choices using the DOS 6.0 multiple configuration option. Note 
  629.        that any valid CONFIG.SYS statement can be used with this 
  630.        scheme, the following example is provided merely to get you 
  631.        started... 
  632.  
  633.        Using any text editor or the DOS EDIT utility, create a short 
  634.        CONFIG.SYS file in the root directory of your hard drive (or 
  635.        modify your current CONFIG.SYS file) so that the following 
  636.        statements are present:
  637.  
  638.        [Menu]
  639.        MENUITEM=DOS, DOS Startup
  640.        MENUITEM=WINDOWS, Windows Startup
  641.        MENUDEFAULT DOS,5
  642.        MENUCOLOR 15,1
  643.        [Common]
  644.        BUFFERS=20
  645.        DEVICE=C:\DOS\HIMEM.SYS
  646.        DOS=HIGH,UMB
  647.        [DOS]
  648.        FILES=20
  649.        DEVICE=C:\DOS\EMM386.EXE
  650.        STACKS=0,0
  651.        [WINDOWS]
  652.        FILES=40
  653.        DEVICE=C:\DOS\EMM386.EXE NOEMS
  654.        STACKS=9,256
  655.        
  656.        In the above statements within the CONFIG.SYS, a menu will appear 
  657.        at startup giving the user a choice - in this example, a choice 
  658.        between "Dos Startup" and "Windows Startup". 
  659.        
  660.        The first line "[Menu]" alerts DOS 6.0 that the multi-
  661.        configuration option is active and that a menu will be 
  662.        constructed. Lines two and three use the MENUITEM statement to 
  663.        respectively define the name of the labels which will be used 
  664.        later in both the CONFIG.SYS and AUTOEXEC.BAT (either DOS or 
  665.        WINDOWS) and screen titles (DOS Startup, Windows Startup). 
  666.        
  667.        Line four, the MENUDEFAULT statement is used to cause the 
  668.        computer to wait for 5 seconds (this can be adjusted by changing 
  669.        the number to a higher or lower value) and then if no key is 
  670.        pressed by the user to automatically run the DOS menu option as 
  671.        the default, predetermined choice. 
  672.        
  673.        In line 5, a menu color is defined with bright white on blue 
  674.        (15,1). Other colors are noted by consulting the DOS 6.0 help 
  675.        facility for further color choices. 
  676.               
  677.        In the next line, the [Common] statement advises the menu that 
  678.        the following three lines referring to BUFFERS, HIMEM.SYS and 
  679.        DOS=HIGH are always run as common to either menu choice and thus 
  680.        always activated. 
  681.        
  682.        The three lines following the [DOS] statement are run only if 
  683.        the menu option for DOS has been selected by a keypress.
  684.        
  685.        Alternatively, the three lines following the [WINDOWS] statement 
  686.        are run only if the Windows option has been selected by a 
  687.        keypress.
  688.  
  689.        It should be noted that up to 12 different menu options can be 
  690.        created. Other than the label [Common], any labels can be 
  691.        selected - it is not necessary to use labels such as [DOS] and
  692.        [Windows]. For instance a user to rewrite the menu structure 
  693.        using labels such as [Bob's settings] or [Mary's settings].
  694.  
  695.        Configuration options are limited only by the imagination of the 
  696.        user in constructing a suitable CONFIG.SYS menu structure. 
  697.        However, the plot thickens since it must be noted that on 
  698.        startup the computer uses both CONFIG.SYS and AUTOEXEC.BAT 
  699.        files. Cleverly, DOS 6.0 allows customization there also... 
  700.  
  701.        Keeping the above example in mind, the next step is an OPTIONAL 
  702.        modification to likewise adjust statements in the AUTOEXEC.BAT 
  703.        file of the same computer. Note that this modification is not 
  704.        necessary, but provides further control as required by the user. 
  705.        
  706.        Novices who are unfamiliar with the AUTOEXEC.BAT file may wish 
  707.        to refer to the PC-learn tutorial on BATCH FILES for background 
  708.        information before studying this example. The AUTOEXEC.BAT file 
  709.        which follows uses references to the previous CONFIG.SYS example 
  710.        to achieve further startup customization. 
  711.        
  712.        ECHO OFF
  713.        CLS
  714.        PROMPT $p$g
  715.        GOTO %CONFIG%
  716.        GOTO END
  717.        :DOS
  718.        SMARTDRV 4096
  719.        LOADHIGH DOSKEY
  720.        PATH C:\;C:\DOS;\C:\GAMES
  721.        GOTO END
  722.        :WINDOWS
  723.        SMARTDRV 1024
  724.        PATH C:\;C:\DOS;\C:\WINDOWS
  725.        LOADHIGH C:\DOS\MOUSE
  726.        CD \WINDOWS
  727.        WIN
  728.        GOTO END
  729.        :END
  730.        
  731.        In the above AUTOEXEC.BAT example, the first two lines turn off 
  732.        the screen echo facility and clear the screen. The third line 
  733.        referring to the prompt is run regardless of whatever menu 
  734.        selection was made in the previous CONFIG.SYS file example. In 
  735.        the fourth line the GOTO %CONFIG% statement locates the stored 
  736.        keypress selection the user has made in the previous CONFIG.SYS 
  737.        example. This statement sets the stage for events which will 
  738.        follow so that if the DOS menu choice was made, the three 
  739.        statements following the label  :DOS   are run so that the 
  740.        SMARTDRIVE utility is installed with a cache size of 4096 
  741.        Kilobytes, the DOSKEY utility is loaded into high memory and the 
  742.        computer is changed into a games subdirectory. However if the 
  743.        user selected a Windows startup, the five statements following 
  744.        the  :WINDOWS label are run which include starting SMARTDRIVE 
  745.        with a cache size of 1024 Kilobytes, installation of a mouse and 
  746.        changing into the Windows subdirectory of the hard drive and 
  747.        running Windows. 
  748.  
  749.        The Multiple Configuration Option of DOS 6.0 is obviously a 
  750.        powerful capability which requires study and planning. A summary 
  751.        of multi-configuration command statements and examples are 
  752.        contained in the DOS 6.0 HELP facility. At the DOS command line 
  753.        type: 
  754.        
  755.        HELP MULTI-CONFIG         <then press return/enter key>
  756.  
  757.        Tip: If you are using a version of DOS earlier than 6.0 you can 
  758.        still obtain capabilities similar to the multi-config option by 
  759.        purchasing either BOOT.SYS or BOOTCON, two software utilities 
  760.        which are available from most shareware dealers. See the PC-
  761.        Learn tutorial SOFTWARE RESOURCES for a list of shareware 
  762.        vendors which should carry these two utilities.
  763.  
  764.        ---------------------------------------------------------------- 
  765.  
  766.                             A FUNCTION KEY SHORTCUT
  767.        
  768.        ---------------------------------------------------------------- 
  769.        
  770.        DOS 6.0 has a clever option which allows you to step through or 
  771.        even bypass your CONFIG.SYS file completely. Pressing F5 or the 
  772.        Shift key when you see the message "Starting MS-DOS" will skip 
  773.        the CONFIG.SYS file and replace it with default settings. If you 
  774.        press F8 instead you can select via a yes/no choice the various 
  775.        device drivers and statements of the CONFIG.SYS one at a time!
  776.        
  777.        A problem may arise on computers which operate too rapidly to 
  778.        allow you to hit the F5 or F8 keys, though. If this is the case, 
  779.        simply add these lines to the beginning of your CONFIG.SYS file 
  780.        to slow things down so you can select a keypress: 
  781.  
  782.        [MENU]
  783.        MenuDefault=Normal,5
  784.        MenuItem=Normal
  785.        [Normal]
  786.  
  787.        The above CONFIG.SYS modification will give you 5 seconds to 
  788.        press either the F5 or F8 key. If nothing is done, after 5 
  789.        seconds bootup continues with default values in whatever 
  790.        CONFIG.SYS settings are present. The 5 second value in the above 
  791.        example can be changed to any value between 1 and 90 seconds. 
  792.        
  793.        Tutorial finished. Have you registered PC-Learn to receive your
  794.        bonus disks? Registration is encouraged. Shareware works on the
  795.        honor system! Send $25 to Seattle Scientific Photography, 
  796.        Department PCL6, PO Box 1506, Mercer Island, WA 98040. Latest 
  797.        version of PC-Learn and two bonus disks shipped promptly!
  798.  
  799.